*{
    margin: 0;
    padding: 0;
    text-decoration: none;
}

.luckdraw{
    width: 420px;
    margin: 0 auto;
}
.lottery{
    width: 240px;
    margin: 30px auto;
    position: relative;
}
.lottery li{
    list-style: none;
    width: 80px;
    height: 80px;
    border:1px solid #000;
    block-size: border-box;
    text-align: center;
    line-height: 80px;
    position: absolute;
}
.lottery li:nth-of-type(1){
    left: 0;
    top: 0;
}
.lottery li:nth-of-type(2){
    left: 80px;
    top: 0;
}
.lottery li:nth-of-type(3){
    left: 160px;
    top: 0;
}
.lottery li:nth-of-type(4){
    left: 160px;
    top: 80px;
}
.lottery li:nth-of-type(5){
    left: 160px;
    top: 160px;
}
.lottery li:nth-of-type(6){
    left: 80px;
    top: 160px;
}
.lottery li:nth-of-type(7){
    left: 0;
    top: 160px;
}
.lottery li:nth-of-type(8){
    left: 0;
    top: 80px;
}
.lottery li:nth-of-type(9){
    left: 80px;
    top: 80px;
    cursor: pointer;
    background: gold;
}
.active::after{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
}